package edu.bailie.springmvc.dao;

import edu.bailie.springmvc.pojo.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;


@Repository("studentDaoImpl")
public class StudentDaoImpl implements StudentDao{


	@Override
	public String StudentInfo(Student student) {
		return String.format("学生的姓名是%s,学生的年龄是%s",student.getName(),student.getAge());
	}
}
